package com.party.core.dao.write.partner;

import com.party.core.dao.write.BaseWriteDao;
import com.party.core.model.partner.MemberPartnerPrivilege;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 合作商权限
 *
 * @author yifeng
 * @date 2018/8/7 0007
 * @time 下午 13:51
 */
@Repository
public interface MemberPartnerPrivilegeWriteDao extends BaseWriteDao<MemberPartnerPrivilege> {
    void deleteByPartnerId(@Param("partnerId") String partnerId);

    void deleteByMemberId(@Param("memberId") String memberId);
}
